/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PaymentTypeEnum extends StringEnum
{
    public static final String COUNTER_VALUE = "10";
    public static final String OFFICE_VALUE = "20";

    public static final PaymentTypeEnum counter = new PaymentTypeEnum("counter", COUNTER_VALUE);
    public static final PaymentTypeEnum office = new PaymentTypeEnum("office", OFFICE_VALUE);

    /**
     * construct function
     * @param String paymentTypeEnum
     */
    private PaymentTypeEnum(String name, String paymentTypeEnum)
    {
        super(name, paymentTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PaymentTypeEnum getEnum(String paymentTypeEnum)
    {
        return (PaymentTypeEnum)getEnum(PaymentTypeEnum.class, paymentTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PaymentTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PaymentTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PaymentTypeEnum.class);
    }
}